<html style="height: 100%">
{include file="public/header" /}

<body style="height: 100%">

<!--<div class="weui-tab">-->
        <!--<form>-->
            <!--<div class="weui-cells weui-cells_form">-->
                <!--<div class="weui-cell">-->
                    <!--<div class="weui-cell__bd">-->
                        <!--<input class="weui-input" type="text" placeholder="请输入标题" name="title">-->
                    <!--</div>-->
                <!--</div>-->
                <!--<div class="weui-cell">-->
                    <!--<div class="weui-cell__bd">-->
                        <!--<textarea class="weui-textarea" placeholder="请输入内容" rows="3" name="content"></textarea>-->
                    <!--</div>-->
                <!--</div>-->
                <!--<div class="weui-cell">-->
                    <!--<div class="weui-cell__bd">-->
                        <!--<input class="weui-input" type="number" placeholder="请输入红包金额" name="all_money_num">-->
                    <!--</div>-->
                <!--</div>-->
                <!--<div class="weui-cell">-->
                    <!--<div class="weui-cell__bd">-->
                        <!--<input class="weui-input" type="number" placeholder="请输入人数" name="person">-->
                    <!--</div>-->
                <!--</div>-->
                <!--&lt;!&ndash;<div class="weui-cell">&ndash;&gt;-->
                <!--&lt;!&ndash;<div class="weui-cell__bd">&ndash;&gt;-->
                <!--&lt;!&ndash;<div class="weui-cell__bd">&ndash;&gt;-->
                <!--&lt;!&ndash;<input class="weui-input" id="home-city" type="text" name="area" placeholder="请选择城市">&ndash;&gt;-->
                <!--&lt;!&ndash;</div>&ndash;&gt;-->
                <!--&lt;!&ndash;</div>&ndash;&gt;-->
                <!--&lt;!&ndash;</div>&ndash;&gt;-->
                <!--<div class="weui-cells weui-cells_radio">-->
                    <!--<label class="weui-cell weui-check__label" for="x11">-->
                        <!--<div class="weui-cell__bd">-->
                            <!--<p>平分</p>-->
                        <!--</div>-->
                        <!--<div class="weui-cell__ft">-->
                            <!--<input type="radio" class="weui-check" name="is_divide" id="x11" checked="checked" value="1">-->
                            <!--<span class="weui-icon-checked"></span>-->
                        <!--</div>-->
                    <!--</label>-->
                    <!--<label class="weui-cell weui-check__label" for="x12">-->
                        <!--<div class="weui-cell__bd">-->
                            <!--<p>不平分</p>-->
                        <!--</div>-->
                        <!--<div class="weui-cell__ft">-->
                            <!--<input type="radio" name="is_divide" class="weui-check" id="x12" value="0">-->
                            <!--<span class="weui-icon-checked"></span>-->
                        <!--</div>-->
                    <!--</label>-->
                <!--</div>-->
            <!--</div>-->
        <!--</form>-->
        <!--<button class="weui-btn weui-btn_primary" type="button" id="submit">提交</button>-->
 <!---->



<!--{include file="public/bottom" /}-->
<!--{include file="public/footer" /}-->
<!--</div>-->
<script src="/static/js/city-picker.min.js"></script>
<script>
    $("#home-city").cityPicker({
        title: "选择目的地",
        onChange: function (picker, values, displayValues) {
            console.log(values, displayValues);
        }
    });
    $('#submit').click(function () {
        var params = {
            url: "{:url('addActivity')}",
            data: $('form').serialize(),
            type: 'post',
            sCallback: function (res) {
                window.location.href = res.msg;
            }
        }
        common.request(params);
    });
</script>

</body>
</html>
